<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<html>
    <head>
        <title>Ong Mae - Administrador do Site</title>

		<% # Include TinyMCE before other JS to avoid problems -%>
		<%= javascript_include_tiny_mce_if_used %>
		<%= tiny_mce if using_tiny_mce? %>

        <%= stylesheet_link_tag "geral" %>
        <%= javascript_include_tag 'prototype' %>
        
    </head>
	
    <body>
      <div id="tudotudo">

        <div id="header">
            
            <div id="header_direita">
                            
              <% if session[:admin] %>
                     <span><%= link_to image_tag("admin.png", :width => "18") + " Funções administrativas", :controller => "usuario" %></span>
              <% end %>
              <span><%= link_to "Sair do sistema "+ image_tag("logout.png"), :action => "logout", :controller => "login"%></span>
            </div>
   
            <span style="margin-bottom: -5px;"><%= image_tag("ong.png")%> Ong MAE - Administrador do Site</span>
        </div>
        
        <div id="menu">
            <%= link_to image_tag("noticias.png", :width => 25) + " Notícias", :controller => :noticias %>
			<%= link_to image_tag("atividades.png") + " Agenda", :controller => :agendas %>
        </div>

        <div  align="center">
            <div id="tudo" align="left">
              
                <%= @content_for_layout %>
                
            </div>
        </div>
      </div>

	<br><br>
    </body>
</html>